<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登录</title>
<style>
	#mian{
	  position: absolute;    
	  width:673px;    
	  height:474px;    
	  left:50%;    
	  top:50%;    
	  margin-left:-300px;   
	  margin-top:-240px;  
	  background-color:#fff;
	  overflow:hidden;
	  overflow:auto;
	  background:url(images/bg.jpg);
	  text-align:left;
	}
</style>
<script type="text/javascript">
<%
String flg = request.getParameter("flg");
if("out".equals(flg)){
%>
window.parent.location.href="login.jsp";
<% }%>
</script>
</head>
<body>
<div>
<table width="1024px"  border="0" cellspacing="0" cellpadding="0">
	<tr style="background-color:gray;font-family:宋体">
		<td style="font-size:60px;text-align:center">北京市平谷区环保局</td>
		<td style="color: red">环境综合信息系统</td>
	</tr>
	<tr >
		<td height="400px" ><image src="images/bg.jpg" width="700px" height="400px"/></td>
		<td width="300px" >
		<form action="dologin.htm" method="post">
		<table width="100%" height="400px">
			<tr>
			<td align="right" colspan="2"><image src="images/hb.jpg" /></td></tr>
			<tr>
				<td>用户名:</td>
				<td><input name="userName"></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input name="password" type="password"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="登录"></td>
			</tr>
		</table>
	
	</form>
		</td>
	</tr>
</table>
</div>
</body>
</html>
